<template>
    <div id="content">
        <div id="map">
            <!-- 地图 -->
            <div id="box-map"/>
            <!-- 搜索框 -->
            <div id="contain-tool">
                <div id="contain-search">
                    <!-- 输入框 -->
                    <input id="keyword"
                           class="input-search"
                           placeholder="搜索站点位置..."
                           maxlength="256"
                    />
                    <!-- 搜索icon -->
                    <img class="icon-search" src="../../images/icon/search.png"/>
                </div>
            </div>
        </div>
    </div>


</template>

<script>
    export default {
        name: "CoordinatePicker",
        data() {
            return {};
        },
        destroyed() {
        },
        mounted() {
        },
        methods: {},


    }
</script>

<style scoped>
    #content {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
    }

    #map {
        width: 100%;
        height: 100%;
    }

    #box-map {
        width: 100%;
        height: 100%;
    }

    #contain-tool {
        position: absolute;
        top: 24px;
        /*left: 770px;*/
    }

    /* contain-search */
    #contain-search {
        width: 240px;
        height: 40px;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0px 1px 10px 0px rgba(201, 201, 201, 1);
        /* flex */
        display: flex;
        align-items: center;
        margin-left: 10px;
    }

    #contain-search .input-search {
        margin-left: 25px;
        flex: 1 1 auto;
        border: none;
        height: 100%;
        outline: none;
        /* text */
        font-size: 16px;
        color: #020202;
    }

    #contain-search .input-clear {
        cursor: pointer;
        width: 27px;
        height: 38px;
        background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/searchbox_5c0d97d.png) no-repeat 0 -114px #fff;
    }

    #contain-search .icon-search {
        width: 20px;
        height: 20px;

        margin-left: 10px;
        margin-right: 25px;
        cursor: pointer;
    }

</style>
